package com.zyd.shiro.persistence.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Data;
/**
 * 实体类
 * @author RookieWZW
 *
 */
@Data
@Entity
@Table(name="mall_user")
public class User {

	@Id
	private int id;//


	
	private String open_id;//
	private String nickName;//用户昵称


	private String avatarUrl;//

	private int gender;//性别 0未知 1男  2女
	private String country;//国家
	private String province;//省份
	private String city;//城市
	private int address_id;//地址，关联地址表mall_user_address
	private int wxapp_id;//关联weixin__app id
	private java.util.Date create_time;//创建时间
	private java.util.Date update_time;//

	

	
}
